package com.sales.service.constants;

/**
 * In this class all the constants are declared and set its value.
 * public static final is used.
 * 
 * @author Sega
 *
 */
public class ServiceConstants {

	/**
	 * Maximum number to define the total threads.
	 */
	public static final int MAX_NO_THREAD_IN_THREADPOOL = 10;
	
	public final static String CACHE_OAUTH_KEY = "oauth_key";
	
	public final static String SF_OBJECT_URL = "/services/data/v20.0/query/?q=";

    /**
     *These are the fixed queries for the SOQL statement. 
     */
    public final static String SF_Q_GET_LEAD = "Select+Company,FirstName,LastName,Street,City,State,PostalCode+From+Lead";
    public final static String SF_Q_GET_ACCOUNT = "SELECT+name+from+Account";
    public final static String SF_Q_GET_CONTACT = "SELECT+FirstName+from+Contact";
    public final static String SF_Q_GET_TASK = "Select+Subject+WhatId+ActivityDate+Status+Priority+Description+From+Task";
    public final static String SF_Q_GET_EVENT = "Select AccountNumber,Name,BillingStreet,BillingCity,BillingState,BillingPostalCode,BillingCountry From Account Limit 5";
	
	/**
	 * Values for defining the HttpMethods.
	 * @author Sega
	 *
	 */
	public enum HttpMethod{
		HTTP_GET,
		HTTP_POST,
		HTTP_DELETE
	}
	
}